import { IModuleConf } from '@wangeditor/editor';
import { withDavinci } from './plugin.ts';
import { elemToHtmlConf } from './parse-elem-html';
import renderElem from './render-elem.ts';
import { hasUndeletableNode } from './helper.ts';

const module: Partial<IModuleConf> = {
	editorPlugin: withDavinci,
	renderElems: [renderElem],
	// parseElemsHtml: [elemToHtmlConf],
	elemsToHtml: [elemToHtmlConf]
};

export { hasUndeletableNode };

export default module;
